

package com.hazelcast.cp.lock.exception;

import com.hazelcast.config.cp.FencedLockConfig;
import com.hazelcast.core.HazelcastException;
import com.hazelcast.cp.lock.FencedLock;

/**
 * Thrown when the current lock holder could not acquire the lock reentrantly
 * because the configured lock acquire limit is reached.
 * See {@link FencedLockConfig} and {@link FencedLock} for more information.
 *
 * @see FencedLockConfig
 * @see FencedLock
 */
public class LockAcquireLimitReachedException extends HazelcastException {

    public LockAcquireLimitReachedException() {
    }

    public LockAcquireLimitReachedException(String message) {
        super(message);
    }

}
